import request from '@/utils/request'



//归档列表
export function getArchiveList(params) {
  return request({
    url:'/mh/archive/list',
    method:'get',
    params
  })
}



//创建归档
export function createArchive(data) {
    return request({
      url: '/mh/archive',
      method: 'post',
      data
    })
  }


//查看归档详情
export function getArchive(archiveId) {
  return request({
    url: '/mh/archive/'  + archiveId,
    method: 'get',
    
  })
}  


//查看归档详情
export function deleteArchive(archiveId) {
  return request({
    url: '/mh/archive/'  + archiveId,
    method: 'delete',
    
  })
}  